import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
import './styles/reset.css'
import './mobile/flexible'
import './assets/fonts/iconfont.css'
import router from '../src/router/index'

// import { test } from '../src/api/index'
// async function myFn() {
//   let res = await test();
//   console.log(res);
// }
// myFn();


import { Tabbar, TabbarItem, NavBar, Col, Row, Image as VanImage, List, Cell, PullRefresh, Search } from 'vant';
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(NavBar);
Vue.use(Col);
Vue.use(Row);
Vue.use(VanImage);
Vue.use(List);
Vue.use(Cell);
Vue.use(PullRefresh)
Vue.use(Search)
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')

